#include <iostream>
#include <Windows.h>
using namespace std;
int main16_2()
{
	SetConsoleOutputCP(65001);
	int a = 0, b = 0, c;
	cout << "请输入a的数值:";
	cin >> a;
	cout << "请输入b的数值:";
	cin >> b;
	c = (a > b ? a : b);
	cout << "a和b中较大的数值为：" << c << endl;
	(a > b ? a : b) = 100;
	cout << "a=\t" << a << endl;
	cout << "b=\t" << b << endl;
	system("pause");
	return 0;
}